﻿@model List<User>
<div class="widget white-t">
    <div class="header">
        <span class="icon"></span><span>
           @ViewBag.ActiveUrl.Title</span>
    </div>
    <table>
        <tr>
            <td class="table-header width30">
                @ForumContext.GetText("UserInfo", "UserName")
            </td>
            <td class="table-header width10">
                @ForumContext.GetText("UserInfo", "TotalPosts")
            </td>
            <td class="table-header width15">
                @ForumContext.GetText("UserInfo", "RegDate")
            </td>
            <td class="table-header width15">
                @ForumContext.GetText("UserInfo", "LastLogin")
            </td>
            <td class="table-header width10">
                @ForumContext.GetText("UserInfo", "TotalVisits")
            </td>
        </tr>
        @foreach (var u in Model)
        {
            <tr>
                <td class="table-cell">
                    @Html.Link(ForumContext.GetAbsoluteUrl(ForumUrls.USER_INFO, u.UserName), u.UserName, null)
                </td>
                <td class="table-cell center">
                    @u.TotalPosts
                </td>
                <td class="table-cell center">
                    @ForumContext.PrettyDate(u.RegDate)
                </td>
                <td class="table-cell center">
                    @ForumContext.PrettyDate(u.LastLogin)
                </td>
                <td class="table-cell center">
                    @u.TotalVisits
                </td>
            </tr>
            
        }
    </table>
</div>

<div class="white-t">
@Html.Raw(ViewBag.PageRender)
</div>
